package com.zaicheng.cloud.loadbanlancer.rule;
/**
 @author zaicheng
 @version 1.0
 @date 2022-04-19
 @email zzc15847256473@163.com
 */

import com.zaicheng.cloud.loadbanlancer.ILoadBalancer;
import com.zaicheng.cloud.loadbanlancer.server.Server;

public interface IRule {

    Server  choose(Object key);

    void setLoadBalancer(ILoadBalancer var1);

    ILoadBalancer getLoadBalancer();

}
